import request from '@/utils/request'

// 查询商机列表
export function listOpportunity(query) {
  return request({
    url: '/opportunity/myDataList',
    method: 'get',
    params: query
  })
}

// 查询商机详细
export function getOpportunityInfo(id) {
  return request({
    url: '/opportunity/getDetails/' + id,
    method: 'get'
  })
}
